/*
 * @Author: YSM
 * @Description: 
 * @Date: 2023-04-12 14:05:28
 * @LastEditTime: 2023-07-17 14:24:28
 * @FilePath: \codestoreh:\WOKER\Demo\my_web_knowledge\my_vue2_demo\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入重置样式
import '@/assets/css/reset.css'
// 引入element-Ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 引入高德地图
import VueAMap from 'vue-amap';
 
Vue.use(VueAMap);

// 初始化vue-amap
VueAMap.initAMapApiLoader({
  // 高德的key
  key: '1189ceae02fee677438b00353e46bb9c',
  // 插件集合
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
  // 高德 sdk 版本，默认为 1.4.4
  v: '1.4.4'
});

// 注册elementui
Vue.use(ElementUI);
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
